//医院入驻接口
import request from '@/utils/request'
const hospitalEnter = {
    //医院入驻列表
    list(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalInformationList.html',
            method: 'post',
            data: query
        })
    },
    //医院入驻列表添加
    addList(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/createHospitalInformation.html',
            method: 'post',
            data: query
        })
    },
    //编辑
    editlsit(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/updateHospitalInformation.html',
            //  url: 'com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/updateHospitalExamine.html',
            method: 'post',
            data: query
        })
    },
    //删除
    detel(query) {
        return request({
            //  url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/updateHospitalInformation.html',
            url: 'com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalExamineDel.html',
            method: 'post',
            data: query
        })
    },
    //详情
    detail(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalInformationDetail.html',
            method: 'post',
            data: query
        })
    },
    //上架审核列表
    examineList(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalExamineList.html',
            method: 'post',
            data: query
        })
    },
    //审核详情
    hospitalExamineDetail(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalExamineDetail.html',
            method: 'post',
            data: query
        })
    },
    //上架审核
    Examine(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/hospitalExamine.html',
            method: 'post',
            data: query
        })
    },
    //上架审核编辑
    Examineedit(query) {
        return request({
            url: 'com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/updateHospitalExamine.html',
            method: 'post',
            data: query
        })
    },
    //导出
    exportfun(query) {
        return request({
            url: '/com.mmk.reservation.api.AdminHospitalInformationProvider/1.0.0/export.html',
            method: 'post',
            data: query,
            responseType: "blob"
        })
    },
}
export default hospitalEnter